<?php
 
	$email_to = "info@limassolbeachmotors.com";
	$email_subject = "Request More Info";
	$email_body ="
	Message:	".$_REQUEST["textarea"]." \n	
	FirstName: ".$_REQUEST["FirstName"]."\n 
	LastName: ".$_REQUEST["LastName"]."\n 
	Phone: ".$_REQUEST["phone"]."\n
	State: ".$_REQUEST["state"]."\n 
	City: ".$_REQUEST["city"]."\n 
	Stock_ID: ".$_REQUEST["stock_num"]."\n ";
	
	$header="From:	".$_REQUEST["Email"].""; 
	if(mail($email_to,$email_subject,$email_body,$header))
		{
		?>
			<script type="text/javascript">
				window.location="blankpage.php";
			</script>
		<?php
		} 
		else 
		{?>
			<script type="text/javascript">
				window.location="blankPage2.php";
			</script>
		<?php }
?>
